﻿{include file="public/header" /}
			<div class="tab">
				<div class="tab-head">
					<strong>系统设置</strong>
					<ul class="tab-nav">
						<li {if $tab == ''}class="active"{/if}><a href="#tab-set">系统设置</a></li>
						<li {if $tab == 'pay'}class="active"{/if}><a href="#tab-pay">支付设置</a></li>
						<li {if $tab == 'other'}class="active"{/if}><a href="#tab-other">其他设置</a></li>
					</ul>
				</div>
				<div class="tab-body">
					<br />
					<div class="tab-panel {if $tab == ''}active{/if}" id="tab-set">
						<form method="post" class="form-x" action="">
							<div class="form-group">
								<div class="label">
									<label>网站维护状态</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										<label class="button {if $data.site_status == "1"}active{/if}">
											<input name="site_status" value="1" {if $data.site_status == "1"}checked="checked"{/if} type="radio"><span class="icon icon-check"></span> 开启</label>
										<label class="button {if $data.site_status == "0"}active{/if}">
											<input name="site_status" value="0" {if $data.site_status == "0"}checked="checked"{/if} type="radio"><span class="icon icon-times"></span> 关闭</label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="readme">维护说明</label>
								</div>
								<div class="field">
									<textarea name="maintain" class="input input-auto" rows="5" cols="80" placeholder="请填写维护说明" data-validate="required:请填写维护说明">{$data.maintain}</textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="sitename">网站名称</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="sitename" name="sitename" value="{$data.sitename}" size="80" placeholder="网站名称" data-validate="required:请填写你网站的名称" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="siteurl">网址</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="siteurl" name="siteurl" value="{$data.siteurl}" size="80" placeholder="请填写网址" data-validate="required:请填写网址" />
								</div>
							</div>
							<div class="form-group">
							<div class="input-inline clearfix">
								<div class="label">
									<label for="logo">LOGO</label>
								</div>
								<div class="field">
									<input type="text" readonly class="input input-auto" id="sitelogo" name="sitelogo" value="{$data.sitelogo}" size="66" placeholder="网站logo" data-validate="required:网站logo不能为空" />
									<span class="addbtn"><button type="button" data-id="sitelogo" class="button upload">上传/选择</button></span>
								</div>
							</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="title">优化标题</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="title" name="title" value="{$data.title}" size="80" placeholder="title标题内容，用于搜索引擎优化" data-validate="required:请填写优化标题，建议在80字以内。" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="keywords">关键词</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="keywords" name="keywords" value="{$data.keywords}" size="80" placeholder="站点关键词，用于搜索引擎优化" data-validate="required:请填写站点关键词，建议在100字以内。" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="desc">描述</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="desc" name="desc" size="80" value="{$data.desc}"  placeholder="网站的描述，用于搜索引擎优化" data-validate="required:请填写网站的描述，建议在200字以内。" />
								</div>
							</div>
							<div class="form-button">
								<button class="button bg-main" type="submit">提交</button>
							</div>
						</form>
					</div>
					<div class="tab-panel {if $tab == 'pay'}active{/if}" id="tab-pay">
						<form method="post" class="form-x" action="?tab=pay">
							<div class="form-group">
								<div class="label">
									
								</div>
								<div class="field">
									<div class="alert alert-yellow input-auto" size="100"><strong>注意：</strong>支付接口指定使用Ping++聚合支付平台 <a target="_blank" href="https://www.pingxx.com/">点击前往</a></div>
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="sitename">AppKey</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="sms_AppKey" name="sms_AppKey" value="{$data.pay_AppKey}" size="80" placeholder="不可为空" data-validate="required:不可为空" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="sitename">AppSecret</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="AppSecret" name="AppSecret" value="{$data.pay_AppSecret}" size="80" placeholder="不可为空" data-validate="required:不可为空" />
								</div>
							</div>
							<div class="form-button">
								<button class="button bg-main" type="submit">提交</button>
							</div>
						</form>
					</div>
					<div class="tab-panel {if $tab == 'other'}active{/if}" id="tab-other">其他设置</div>
				</div>
			</div>
{include file="public/footer" /}